<div id="registerPage">
  <span id="registerTitle">注册</span>
  <hr />
	<?php
		echo $this->Html->css('register');
    echo $this->Session->flash('auth'); 
    echo $this->Session->flash(); 
		echo $this->Form->create('User', array('url' => array('controller' => 'users', 'action' => 'register'))); 
	?>

<!--   <form id="registerForm"> -->
    <label for="name">　用户名：</label><input name="data[User][username]" type="text"/><br /><span class="tips">16个字符以内，不允许特殊字符，最小5个字符</span><br />
    <label for="password">　　密码：</label><input name="data[User][password]" type="password"/><br /><span class="tips">16个字符以内，最小8个字符</span><br />
    <input type="hidden" name="data[User][url]" value="http://localhost/eaters-website/img/anonymous.png"/>
    <label for="password2"> 确认密码：</label><input name="password2" type="password"/><br /><span class="tips">再确认一遍</span><br />
    <input name="name" id="postRegister" type="submit" value="注册"/>
  </form>
</div>